﻿@using CommandLib
@using Resources
@model FindArtInfo.Models.PageAdvancedSearchModel
@{
    ViewBag.Title = "– Advanced search";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@using (Html.BeginForm("AdvancedSearch", "Home", FormMethod.Post))
{
    @Html.AntiForgeryToken()
    <table width="100%" cellspacing="0" cellpadding="0" border="0" id="table5">    
        <tr>
            <td valign="top" align="left">
                <h1 class="underline">@Html.LabelFor(m => m.AdvanceSearchTitle, Multi.PageAdvanceSearchTitle)</h1>
                @Html.Raw(string.Format(Multi.PageAdvanceSearchMessage, Utils.GetUrlByLanguage(CookiesStore.GetCookies(Constants.Cookie.COOKIE_LANGUAGE))))            
                <table width="100%" cellspacing="0" cellpadding="5" border="0" id="table6">
                    <tr>
                        <td width="25%"><b>@Html.LabelFor(m => m.AdvanceSearchMessage, Multi.PageAdvanceSearchArtistName)</b></td>
                        <td width="75%">                        
                            @Html.TextBoxFor(m => m.AdvanceSearchArtistName, new {@size = "52"})
                        </td>
                    </tr>
                    <tr>
                        <td><b><nobr>@Html.LabelFor(m => m.AdvanceSearchBorn, Multi.PageAdvanceSearchBorn)</nobr></b>
                        </td>
                        <td>                        
                            @Html.TextBoxFor(m => m.AdvanceSearchBorn, new {@maxlength = "4", @size = "5"})
                            &nbsp; @Html.LabelFor(m => m.AdvanceSearchMessage, Multi.PageAdvanceSearchExampleYear)
                        </td>
                    </tr>
                    <tr>
                        <td><b><nobr>@Html.LabelFor(m => m.AdvanceSearchDie, Multi.PageAdvanceSearchDie)</nobr></b>
                        </td>
                        <td>
                            @Html.TextBoxFor(m => m.AdvanceSearchDie, new {@maxlength = "4", @size = "5"})
                            &nbsp; @Html.LabelFor(m => m.AdvanceSearchMessage, Multi.PageAdvanceSearchExampleYear)
                        </td>
                    </tr>
                    <tr>
                        <td><b><nobr>@Html.LabelFor(m => m.AdvanceSearchCountryId, Multi.PageAdvanceSearchCountryId)</nobr></b></td>
                        <td>
                            @Html.DropDownListFor(m => m.AdvanceSearchCountryId, new SelectList(Model.ListCountry, "ID", "CountryName"),"----Country----")
                        </td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td>
                            <br>
                            <input type="submit" value="@Multi.PageAdvanceSearchSubmit" class="knap" onmouseout="co(this, 'out');" onmouseover=" co(this, 'in');">                        
                        </td>
                    </tr>
                </table>            
            </td>
        </tr>
    </table>
    <p>
        <strong>@Html.LabelFor(m => m.AdvanceSearchOr, Multi.PageAdvanceSearchOr)</strong>
    </p>
    <table width="100%" cellspacing="0" cellpadding="5" border="0" id="table6">
        <tr>
            <td width="25%"><b>@Html.LabelFor(m => m.AdvanceSearchPriceTitle, Multi.PageAdvanceSearchPriceTitle)</b></td>
            <td width="75%">            
                @Html.TextBoxFor(m => m.AdvanceSearchPriceTitle, new {@size = "52"})
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
            <td>
                <br>
                <input type="submit" class="knap" onmouseout="co(this, 'out');" onmouseover=" co(this, 'in');" value="@Multi.PageAdvanceSearchSubmit">
            </td>
        </tr>
    </table>
}    
